home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
t_os
/
na386
/
lnadd.bas
< prev
next >
Wrap
BASIC Source File
|
1993-07-08
|
420b
|
21 lines
100 '
110 ' 行番号付加プログラム Ver1.0 by N.Takahashi
120 '
130 LINE INPUT "file name ?";FL$
140 INPUT "start line number ?",LN
150 OPEN "I",#1,FL$
160 OPEN "O",#2,"LNADD.TMP"
170 '
180 WHILE EOF(1)<>-1
190 LINE INPUT #1,A$
200 B$=MID$(STR$(LN),2)+"'"+A$ : LN=LN+10
210 PRINT B$
220 PRINT #2,B$
230 WEND
240 '
250 CLOSE #1
260 CLOSE #2
270 KILL FL$
280 NAME "LNADD.TMP" AS FL$
290 END